package com.arlen.commom.constant;

public enum  GetHttpConstant {
    //由于GET的请求写的比较死所以临时家常量判断
    ANALYSIS(0,"需要解析"),NOANALYSIS(-1,"不需要解析"),

    SUCCESS(1,"操作成功"),PASS(2,"通过认证"),
    INNER_ERROR(-1001, "内部系统错误"),NULL_SHOPID(-1002,"ShopId为空")
    ,NULL_SHOP(-1003,"shop店铺信息为空");
    private int state;
    private String stateInfo;
    //将构造函数设为私有的目的是为了不让外部修改我们定义好的属性 将定义好的变量当做常量来使用
    private GetHttpConstant(int state, String stateInfo) {
        this.state = state;
        this.stateInfo = stateInfo;
    }

    public int getState() {
        return state;
    }

    public String getStateInfo() {
        return stateInfo;
    }
}
